Skip to content

Conversation

@andruud
Copy link
Member

@andruud andruud commented Oct 29, 2025

We currently say that "any at-rule whose body contains style rules" can be nested group rules, which strictly covers @mixin as well. However, this obviously doesn't make sense for mixins: the relevant parent comes from the @apply rule invoking it, not from the place where the @mixin rule is defined.

We currently say that "any at-rule whose body contains style rules"
can be nested group rules, which strictly covers `@mixin` as well.
However, this obviously doesn't make sense for mixins:
the relevant parent comes from the `@apply` rule invoking it,
not from the place where the `@mixin` rule is defined.
@andruud andruud requested a review from tabatkins October 29, 2025 14:35
@tabatkins tabatkins merged commit 9e2a77e into w3c:main Nov 1, 2025
1 check passed
@andruud andruud deleted the no_nested_group_mixin branch November 1, 2025 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants